package com.qianyu.project.service;

import com.qianyu.project.entity.WorkLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qianyu.project.entity.WorkLogDetail;
import com.qianyu.project.web.controller.nyx.WorkLogDeteil;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 安全日志 服务类
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
public interface IWorkLogService extends IService<WorkLog> {

    //查询工作日志
    List<Map<String,Object>> getList(Map<String, String> map);

    List<Map<String,Object>> getOrgList(Map<String, String> map);

    String getId();

    int save(WorkLog workLog, List<WorkLogDetail> workLogDetails);

    void updateWorkLog(WorkLog workLog, List<WorkLogDetail> workLogDetails);
}
